﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MUD.Lib.Objects.Users;

namespace MUD.Lib.Commands
{
    class quit : ICommand
    {
        public void Execute(User user, string command)
        {
            // TODO: save the player and characters before disconnecting.
            user.Write("Goodbye!" + Environment.NewLine);
            user.Disconnect();
        }

        public string Help()
        {
            throw new NotImplementedException();
        }
    }
}
